package coe.pumbaa

class Comment {
    String message
    Date timestamp
    String likes = "" //user id who like this comment
    
    static belongsTo = [post:Post, owner: User]
    

    static constraints = {
        message(blank:false)
        likes(nullable:true)
    }
}
